package com.kgo.log.logtools.config;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class InitConfig implements CommandLineRunner {
    @Override
    public void run(String... args) {
        try {
            Runtime.getRuntime().exec("cmd /c  start  http://127.0.0.1:6654/logview?fileName=log.txt");
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
